home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / cprot20h.zip / CPTEST.FRM (.txt) < prev    next >
Visual Basic Form  |  1995-07-07  |  10KB  |  293 lines

  1. Form1
  2. CProtect sample
  3. Form1,
  4. Picture1
  5. Picture4
  6. Label1
  7. security file name
  8. Start
  9. Start timer
  10. Cfgname
  11. Uname1
  12.     Ucompany1
  13. Cfgmake
  14. Create security file
  15. Label7
  16. Usage
  17. Getnames
  18. Get Name and Company
  19. Label8
  20. Total
  21. Label9
  22.     Last time
  23. Label2
  24. serial number
  25. Thour
  26. Label11
  27. hours
  28. Chour
  29. Snumber
  30. Picture5
  31. Label12
  32. minutes
  33. Register
  34. Register program!
  35. Picture2
  36. Picture7
  37. Label13
  38. seconds
  39. Feature
  40. Label4
  41. access code
  42. Label10
  43. Times used
  44. Ttimes
  45. Picture6
  46. Picture8
  47. Regmake
  48. Make Regcode
  49. Checkmessage
  50. Stopnow
  51. Stop timer
  52. Label3
  53. registration code
  54. Checkreg
  55. Check if registered
  56. Regcode
  57. 9    Picture10
  58. Label14
  59. -Code example using Cprotect with Visual Basic
  60. Label15
  61.  Thomas Lichtneckert
  62. Goodbye
  63. Close
  64. Picture3
  65. Picture9
  66. Label5
  67. Uname
  68. 0    Codecheck
  69. Label6
  70. company
  71. Ucompany
  72. 1    CheckCode
  73. Check the code
  74. Setnames
  75. Set Name and Company
  76. Hlpbar
  77. FILE_NOT_FOUND
  78. PATH_NOT_VALID
  79. NO_PATH
  80. NOT_REMOVABLE
  81. DRIVE_OK
  82. NO_ARGUMENTS
  83. DRIVE_NOT_FLOPPYT
  84. DRIVE_NOT_READY
  85. DRIVE_NOT_VALID%
  86. DRIVE_ERROR
  87. WRONG_DISKETTE5
  88. DRIVE_WRPROT
  89. DRIVE_WRPROT_A
  90. DRIVE_WRPROT_B
  91. DISK_ISIN_A
  92. DISK_ISIN_BO
  93. NOT_REGISTERED
  94. NO_REGINFO
  95. NO_SERNUMBER
  96. FEATURES_NOT_AVAILABLE
  97. WRONG_CODE*
  98. IS_REGISTERED
  99. cpMakeRegCodeE
  100. features
  101.     serialnum
  102. regcodeN
  103.     cpCFGMakeF
  104. magic
  105. filever9
  106. cpGetSernumt
  107. cpRegisterProgram`
  108. cpCheckRegCode/
  109. cpGetRegisteredName0
  110. cpGetRegisteredCompany.
  111. company
  112. cpSetRegisteredNames
  113. cpIsRegistered
  114. cpGetUParams
  115. lparam=
  116. iparam1
  117. iparam2]
  118. iparam3
  119. iparam4
  120. iparam5
  121. cpSetUParamsM
  122. cpSetFTime
  123. datum
  124. cpWhichDriveO
  125. file"
  126. cpDirRemove
  127. cpStartProgram?
  128. cpEndProgram
  129. cpGetUStatistics
  130. utimes
  131. Thour.    
  132. TminO
  133. Chour
  134. cpGetFileinfoq
  135. version
  136. Text1_ChangeW
  137. Text1u
  138. cpMakeFile
  139. Text1_LostFocus
  140. Text2
  141. versY
  142. Command1_Click
  143. Text4
  144. Form_Click
  145. Text2_ChangeQ
  146. Cfgmake_ClickI
  147. sernum
  148. Feature_Change
  149.     Form_LoadI
  150. Feature
  151. Form_GotFocus
  152. Regmake_Click,
  153. fcode
  154. Snumber
  155. rcode
  156. VScroll1_Change
  157. Uname_Change
  158. Uname1
  159.     Ucompany1
  160. Cfgname
  161. Setname_Click
  162. uname
  163. u_name
  164. u_comph
  165. Ucompany3
  166. cfg_name6
  167. u_com    
  168. Ucompany_Change
  169. Getnames_Click
  170. Setnames_Click
  171. Snumber_ChangeK
  172. Ucompany1_Change
  173. Uname1_Change
  174. Checkreg_Click&
  175. Checkmessage_Change
  176. Checkmessage
  177. Register_Click
  178. reg_code
  179. Picture1_Click
  180. Picture4_Click
  181. Csek_Change
  182. IndexC
  183. CheckCode_Click
  184. Codecheck_Change
  185. Regcode_Change
  186. ElsIf^
  187. registered
  188.     CodecheckT
  189. Start_Click
  190. Ttimes
  191. Stopnow_Click
  192. times
  193. t_hour
  194. t_minJ
  195. t_sec
  196. c_hour
  197. c_min
  198. c_sec
  199. Goodbye_ClickJ    
  200. Form12
  201. Unload
  202. Form_Unload
  203. Cancel
  204.     totalhourf
  205. totalmin
  206. Totalsek
  207. lasthour
  208. lastMin
  209. Lastsek
  210. Cfgname_Change
  211. Cfgname_hlp
  212. Cfgname_GotFocusY    
  213. Hlpbar
  214. Cfgmake_hlp
  215. Feature_hlp
  216. Regmake_hlp
  217.     Uname_hlp
  218. Ucompany_hlp
  219. Setnames_hlp
  220. Getnames_hlpz
  221. Register_hlp
  222. Checkreg_hlp
  223. CheckCode_hlp;    
  224.     Start_hlp
  225. Stopnow_hlpm    
  226. Goodbye_hlp
  227. Cfgmake_GotFocus
  228. CheckCode_GotFocus
  229. Checkreg_GotFocus
  230. Codecheck_hlp
  231. Feature_GotFocus
  232. Getnames_GotFocusq
  233. Goodbye_GotFocus\
  234. Regmake_GotFocus5
  235. Setnames_GotFocus!
  236. Start_GotFocus
  237. Stopnow_GotFocus
  238. Ucompany_GotFocus
  239. Uname_GotFocus
  240. Register_GotFocus
  241. timef
  242. fdate
  243. ftime
  244. totalsec
  245. lastsec
  246. Write the name of your security file here.
  247. Press to make a new security file with a new serial number."
  248. The feature code ( 1 - 15 ) for which you want to make a registration code."
  249. Press to create a matching registration code."
  250. The name of the registered user that you want in the security file."
  251. The name of the users company"
  252. Press to write the above names to the security file.
  253. To retreive the user and company names from the security file.
  254. To write the registrtation code into the security file."
  255. To find out whether the security file contains a registration code."
  256. Check which feature the registration code in the security file enables."
  257. Start the usage timer and increment the 'Times used' counter."
  258. To stop the usage timer and display usage statistics."
  259. To quit this testprogram."
  260. Cfgmake_Click
  261. Regmake_Click
  262. Feature_Change
  263. Uname_Change
  264. Ucompany_Change
  265. Setnames_Click
  266. Getnames_Click
  267. Checkreg_Click
  268. Program is "
  269. registered
  270. Register_Click
  271. CheckCode_Click
  272. code$ = Regcode.text
  273. Regcode incorrect!
  274. Fileproblems!"
  275.     t$ = "Access " + Str$(a) + " registered"
  276. Start_Click
  277. Stopnow_Click
  278. Goodbye_Click
  279. Cfgname_GotFocus
  280. Cfgmake_GotFocus
  281. CheckCode_GotFocus
  282. Checkreg_GotFocus
  283. Feature_GotFocus
  284. Getnames_GotFocus
  285. Goodbye_GotFocus
  286. Regmake_GotFocus
  287. Setnames_GotFocus
  288. Start_GotFocus
  289. Stopnow_GotFocus
  290. Ucompany_GotFocus
  291. Uname_GotFocus
  292. Register_GotFocus
  293.